package com.example.hospitalapp;

public class Queue {
    private int queueId;         // 排队ID
    private int appointmentId;   // 预约ID
    private int queueNumber;     // 排队号
    private String queueTime;    // 排队时间
    private String calledStatus; // 排队状态（未叫号 / 已叫号）

    // 构造方法
    public Queue(int queueId, int appointmentId, int queueNumber, String queueTime, String calledStatus) {
        this.queueId = queueId;
        this.appointmentId = appointmentId;
        this.queueNumber = queueNumber;
        this.queueTime = queueTime;
        this.calledStatus = calledStatus;
    }

    // Getters and Setters
    public int getQueueId() {
        return queueId;
    }

    public void setQueueId(int queueId) {
        this.queueId = queueId;
    }

    public int getAppointmentId() {
        return appointmentId;
    }

    public void setAppointmentId(int appointmentId) {
        this.appointmentId = appointmentId;
    }

    public int getQueueNumber() {
        return queueNumber;
    }

    public void setQueueNumber(int queueNumber) {
        this.queueNumber = queueNumber;
    }

    public String getQueueTime() {
        return queueTime;
    }

    public void setQueueTime(String queueTime) {
        this.queueTime = queueTime;
    }

    public String getCalledStatus() {
        return calledStatus;
    }

    public void setCalledStatus(String calledStatus) {
        this.calledStatus = calledStatus;
    }
}
